import { IRouteComponentProps } from 'umi';

import Footer from '@/components/footer';
import Tab from '@/components/Tab';

export default function Layout({ children, location, route, history, match }: IRouteComponentProps) {
  return <div className='wrapper'>
    <header>
      <Tab></Tab>
    </header>
    <main>
      <div className='context'>
        <div className='container'>
          {children}
        </div>
        <footer>
          <Footer></Footer>
        </footer>
      </div>
    </main>

  </div>
}
